WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway A

Total Complexity 57
Dependencies 22
Dependents 24
Total lines 538
Lines of code 259
Logical lines of code 114
Comment lines 178
Methods 14
Properties 15

Methods 14

Method Rating Maintainability Complexity Lines of code
process_payment()
B
34 18 94
__construct()
A
40 9 62
define_method_title()
S
60 5 15
define_method_description()
S
56 4 24
init_form_fields()
S
55 4 19
is_pui_tab()
S
70 3 6
is_paypal_tab()
S
73 3 5
is_credit_card_tab()
S
76 2 4
is_webhooks_tab()
S
76 2 4
process_refund()
S
67 2 7
update_option()
S
65 2 9
needs_setup()
S
81 1 3
get_transaction_url()
S
75 1 4
settings_renderer()
S
82 1 3